//
//  LCTestJumpViewController.m
//  BabyLove
//
//  Created by DexSinis on 2018/11/27.
//  Copyright © 2018年 bengo. All rights reserved.
//

#import "LCTestJumpViewController.h"
#import "ZZHomeWebViewController.h"
@interface LCTestJumpViewController ()

@end

@implementation LCTestJumpViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UIButton *button2 =  [[UIButton alloc] initWithFrame:CGRectMake(30, 90, 30, 30)];
    button2.backgroundColor = [UIColor yellowColor];
    [button2 addTarget:self action:@selector(button2Action:) forControlEvents:UIControlEventTouchUpInside];
    self.view.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:button2];
}

- (void)button2Action:(UIButton *)button{
    ZZHomeWebViewController *vc = [ZZHomeWebViewController new];
//    vc.addressUrl = @"http://lib.yewyw.com/pay/freeOrPay?consulterId=4198625&bmark=babybuscom&appid=65&couponflag=1&flag=dyh&userid=1534169285345babybuscomH5Web#";
    
    
    vc.addressUrl = @"https://test.yewyw.com/pay/freeOrPay?consulterId=4001714&bmark=babybuscom&appid=78&couponflag=1&flag=dyh&userid=oE2Jat0Q15TvfmkcHBS5hVrGTtds#";
    
//    vc.addressUrl  = @"https://test.yewyw.com/index.html?bmark=123456&wxappid=wx2985594f8f8be8ee&appid=35&flag=dyh&test=1&openId=oIJEtvwggxfGUtwp_IVA8cP6niMI#/index";
//
//    vc.addressUrl  =@"https://test.yewyw.com/index.html?bmark=1&appid=22&flag=app&appUserId=122&appUserNickname=aa&appHeadUrl=222#/Index";
    
//    40 mama
//    https://test.yewyw.com/index.html?bmark=mama&appid=40&flag=app&appUserId=122&appUserNickname=aa&appHeadUrl=222#/Index
    
//    vc.addressUrl = @"https://test.yewyw.com/index.html?bmark=txjk&appid=88&flag=app&appUserId=113&appUserNickname=aa&appHeadUrl=222#/Index";
//
    
//    vc.addressUrl = @"https://test.yewyw.com/index.html?bmark=txjk&appid=88&flag=app&appUserId=1867564841555&appUserNickname=123&appHeadUrl=http%3a%2f%2f114.55.54.82%3a8001%2fimsg%2fIJPGF24074D0EC574BF88DCC2C414DBB1064%408001.png&appUserPhone=18675648415#/Index";
    
//    vc.addressUrl = @"https://test.yewyw.com/index.html?bmark=txjk&appid=88&flag=app&appUserId=8db3382a&appUserNickname=18675648412&appHeadUrl=111&appUserPhone=18675648412#/Index";
////
//    
//    vc.addressUrl = @"https://test.yewyw.com/index.html?bmark=txjk&appid=88&flag=app&appUserId=8db3382a-1ebd-4c5d-a6a5-1fe967049111&appUserNickname=%E5%AE%89&appHeadUrl=http%3A118.31.14.197%3A8080%2FJavaWebApp%2Fuser%2Fedfce2c9-a892-40d2-b776-657733851990%2F2670ec17-75a1-4f94-87d3-ed541446bb00_touxiang.jpg&appUserPhone=18675648413#/Index";
//    
    
    vc.addressUrl = @"https://test.yewyw.com/index.html?bmark=txjk&appid=88&flag=app&appUserId=635fb916-e1ad-46b5-9351-05ec9ff5cc72&appUserNickname=%E6%B5%8B%E8%AF%952&appHeadUrl=http%3A118.31.14.197%3A8080%2FJavaWebApp%2Fuser%2Fcaa97eea-e1f2-41dc-90ad-76e0cb1c32bb%2F7943f1ac-bd9d-44a2-8e36-ffde54b6dfd3_touxiang.jpg&appUserPhone=13855556666#/Index";
    
//    vc.addressUrl = @"https://h5.yewyw.com/index.html?appUserId=11080712&appUserNickname=DexSinis&appUserPhone=1&appHeadUrl=1&appid=175&flag=app&bmark=txjk#/Index";
////
    
//    vc.addressUrl = @"http://116.62.39.176:8103/index.html?bmark=dexsinis&appid=91&flag=app&appUserId=11080712&appUserNickname=%E6%B5%8B%E8%AF%952&appHeadUrl=http%3A118.31.14.197%3A8080%2FJavaWebApp%2Fuser%2Fcaa97eea-e1f2-41dc-90ad-76e0cb1c32bb%2F7943f1ac-bd9d-44a2-8e36-ffde54b6dfd3_touxiang.jpg&appUserPhone=13855556666#/Index";
//
    
        vc.addressUrl = @"https://h5.yewyw.com/index.html?bmark=txjk&appid=175&flag=app&appUserId=406302c9-5d6a-4d28-9aff-42f780b12caa&appUserPhone=13346157623&appUserNickname=%E6%B8%85%E9%A3%8E&appHeadUrl=http%3A%2F%2Fthirdwx.qlogo.cn%2Fmmopen%2Fvi_32%2Fv99plasMsVNqmcsN8jbvrlSfDiaNfB96AWmBcLic46cY7OB0pXZmLV768MxBejkxVtnzTA4ibOGbibUXoiaf7QVrKKg%2F132";
    
    
    
    vc.gotoIndexUrl = vc.addressUrl;
    
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:@0 forKey:@"selectIndexNow"];
    vc.hidesBottomBarWhenPushed = NO;
    vc.closeBtnEnable = true;
    [self.navigationController pushViewController:vc animated:YES];
    NSLog(@"----buttonAction2");
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
